﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WowParserLib.Events.PrefixArgs;
using WowParserLib.Events.SuffixArgs;
namespace WowParserLib.Events
{
    public class SwingMissed: SwingEvent
    {
        MissedArgs _missedSuffix;

        public override string ToString()
        {
            return base.ToString() + " " + _missedSuffix.MissType;
        }

        protected override int getDamage()
        {
            return 0;
        }

        protected override void initialize(params EventArguments[] args)
        {
            foreach (EventArguments arg in args)
            {
                if (arg is MissedArgs)
                {
                    _missedSuffix = arg as MissedArgs;
                }
            }
        }
    }
}
